package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Fiber implements Trans<Fiber, CompleteEntity.Fiber> {

    /**
     * 光口序号
     */
    private Integer index;

    /**
     * 是否连接
     */
    private Boolean isConnect;

    /**
     * 光口控制面积列起点
     */
    private Integer x;

    /**
     * 光口控制面积行起点
     */
    private Integer y;

    /**
     * 光口控制面积宽度
     */
    private Integer width;

    /**
     * 光口控制面积高度
     */
    private Integer height;
}

